package coffee;

import coffee.State;
import input.*;

public class Coffeemachine implements IInput {

    private State state;

    public Coffeemachine() {
        this.state = State.IDLE;
    }

    public void request(Inputs input) {
        this.state = state.handle(input);
    }
}
